﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BookView.aspx.cs" Inherits="WebApplication1.BookView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        body
        {
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 750px; background-color: #ABC0FC; font-size: 20px;">
        <div style="margin: 20px auto 20px 100px; width: 400px; background-color: #ff5599">
            请选择书籍类别：<select id="selBookType" runat="server" name="selBookType" style="font-size: 17px;">
                <option value="0">请选择书籍</option>
            </select>
        </div>
        <asp:Repeater runat="server" ID="rpBookView">
            <HeaderTemplate>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr style='background-color: Orange'>
                        <td align="center">
                            序号
                        </td>
                        <td align="center">
                            书目类别
                        </td>
                        <td align="center">
                            书籍名称
                        </td>
                        <td align="center">
                            操作
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" align="center">
                            <hr />
                        </td>
                    </tr>
            </HeaderTemplate>
            <SeparatorTemplate>
                <tr>
                    <td colspan="4" align="center">
                        <hr />
                    </td>
                </tr>
            </SeparatorTemplate>
            <ItemTemplate>
                <tr style='background-color: <%#(Container.ItemIndex%2==0)?"#F2FCAB":"#AACCFD"%>'
                    onmouseover="oldBG=this.style.backgroundColor; this.style.backgroundColor='#ff5599';"
                    onmouseout="this.style.backgroundColor=oldBG">
                    <td align="center">
                        <%#Container.ItemIndex+1 %>
                    </td>
                    <td align="center">
                        书籍类别名称
                    </td>
                    <td align="center">
                        <asp:HyperLink ID="linkFlowProcessSearchByName" runat="server" NavigateUrl='<%# "~/EditorProcessManage.aspx?proID="+Eval("projectNameId") %>'
                            ToolTip="点击进入本书流程管理" Text='<%#"《"+ Eval("bookName") +"》"%>'>'></asp:HyperLink>
                    </td>
                    <td align="center">
                        <asp:HyperLink ID="linkFlowProcessSearchByID" runat="server" NavigateUrl='<%# "~/EditorProcessSearch.aspx?proID="+Eval("projectNameId") %>'
                            ToolTip="点击进入查询流程" Text="点击进入查询流程"></asp:HyperLink>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
